* lisp/files.el (find-alternate-file): If the old buffer is modified
authorKarl Fogel <kfogel@red-bean.com>
Sat, 5 Sep 2009 15:16:49 +0000 (15:16 +0000)
committerKarl Fogel <kfogel@red-bean.com>
Sat, 5 Sep 2009 15:16:49 +0000 (15:16 +0000)
commit0bb0c84a311155083f97e6771dcd8500b56bbadb
tree594bbd7135cf7a26c66f9b0fea2e57231043c0d3
parentd3d35a1b33305199f73290d695aa31f94801d711
* lisp/files.el (find-alternate-file): If the old buffer is modified
  and visiting a file, behave similarly to `kill-buffer' when killing
  it, thus reverting to the pre-1.878 behavior; see
  http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
  for discussion.  Also, consult `buffer-file-name' as a variable not
  as a function, for consistency with the rest of the code.
lisp/ChangeLog
lisp/files.el